#ifndef UGYFELLISTA_H
#define UGYFELLISTA_H
#include <fstream>
#include <iostream>
#include "structs.h"
#include "Ugyfel.h"
#include "extra.h"

class Ugyfellista
{
    public:
        Ugyfellista(std::string);
        ~Ugyfellista();
        void WriteUgyfel();
        void AddUgyfel();
        enum exceptions {OPEN_ERROR};

    private:
        std::string file;
        std::fstream ugyfellista;
        int size;
};

#endif // UGYFELLISTA_H
